home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / ContourPlot / Source / ContourPlotApp.h < prev    next >
Text File  |  1993-01-25  |  1KB  |  67 lines

  1. #import <appkit/Application.h>
  2.  
  3.  
  4. @interface ContourPlotApp:Application
  5. {
  6.     id contourView;
  7.     id commentText;
  8.     id versionField;
  9.     id openPanel;
  10.  
  11.     id nlevelField;            // # of contour levels field
  12.     id xgStepField;
  13.     id ygStepField;            // y grid spacing field
  14.     id nxField;                // original data X num points field
  15.     id nyField;
  16.     id nxInterpField;            // Field for X number of points to interpolate to
  17.     id nyInterpField;            // Field for Y number of points to interpolate to
  18.     id xminField;
  19.     id xmaxField;
  20.     id yminField;
  21.     id ymaxField;
  22.  
  23.     id tickSwitch;
  24.     id gridSwitch;
  25.     id axisSwitch;
  26.  
  27.     id brightCWell;
  28.     id darkCWell;
  29.     id bgCWell;
  30.     id lineCWell;        /* line color */
  31.  
  32.     int nxInterp;            // X number of points to interpolate to
  33.     int nyInterp;            // Y number of points to interpolate to
  34.  
  35.     // Actual data
  36.     int        nx, ny;            // # of X Y points of loaded data
  37.     float    xmin, xmax;
  38.     float    ymin, ymax;
  39.     float    *zdata;            // 2-d grid data
  40.     float    xgstep, ygstep;        // grid increment
  41. }
  42.  
  43. - appDidInit:sender;
  44. - openSample:sender;
  45. - viewSampleFile:sender;
  46. - open:sender;
  47. - openFile:(const char *)fileName;
  48. - setDataToContourView;
  49.  
  50. - setNcontourLevels:sender;
  51. - setLineWidth:sender;
  52. - setGridSpacing:sender;
  53. - setNInterpolation:sender;
  54.  
  55. - clearAction:sender;
  56. - drawAction:sender;
  57. - colorWellsAction:sender;
  58. - useColorAction:sender;
  59. - setGridMesh:sender;
  60. - setTickMark:sender;
  61. - setAxis:sender;
  62. - flipYAction:sender;
  63.  
  64. - windowDidResize:sender;
  65.  
  66. @end
  67.